﻿using System;

namespace WebApiV2.Data
{
    public abstract class BaseEntity
    {
        public BaseEntity()
        {
            IsActived = true;
            IsDeleted = false;
            UpdateTime = DateTime.Now;
            CreateTime = DateTime.Now;
            Remarks = "null";

        }
        public int id { get; set; }

        public DateTime UpdateTime { get; set; }

        public DateTime CreateTime { get; set; }

        public bool IsActived { get; set; }

        public bool IsDeleted { get; set; }

        public string Remarks { get; set; }
    }
}
